package ui.panels.commands;

import ui.panels.messageBox.MessageBoxFrame;
import ui.panels.messageBox.MessageBoxPanel;


public class OpenMessageBoxCommand implements Command{

	private String message = null;
	
	public void execute()
	{
		MessageBoxFrame frame = new MessageBoxFrame();
		MessageBoxPanel panel = new MessageBoxPanel(frame, message);
		frame.add(panel);
	}

	public void setMeesage(String message) {
		this.message = message;
	}
}
